package com.ssy.lingxi.after.sale.model.vo.request;

import com.ssy.lingxi.common.model.vo.PageVO;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

/**
 * 发货分页VO
 * @author 伍将
 * @date 2020/10/19
 **/
public class DeliveryGoodsPageVO extends PageVO {
    private static final long serialVersionUID = -9207923899575162649L;

    /**
     * 数据id
     */
    @NotNull(message = "数据id要大于0")
    @Positive(message = "数据id要大于0")
    private Long dataId;

    /**
     * 批次号
     */
    @NotNull(message = "批次号要大于0")
    @Positive(message = "批次号要大于0")
    private Integer batchNo;

    public Long getDataId() {
        return dataId;
    }

    public void setDataId(Long dataId) {
        this.dataId = dataId;
    }

    public Integer getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(Integer batchNo) {
        this.batchNo = batchNo;
    }
}
